package com.adc.douyu_assistant.entity;

public class DouyuMessage {
    private DouyuMessageHeader messageHeader;
    private String messageContent;

    public DouyuMessage(DouyuMessageHeader header, String content) {
        this.messageHeader = header;
        this.messageContent = content;
    }

    public DouyuMessageHeader getMessageHeader() {
        return messageHeader;
    }

    public void setMessageHeader(DouyuMessageHeader messageHeader) {
        this.messageHeader = messageHeader;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    @Override
    public String toString() {
        return "DouyuMessage{" +
                "messageHeader=" + messageHeader +
                ", messageContent='" + messageContent + '\'' +
                '}';
    }
}
